@echo off
set /a a = 3
set /a b = 5
if %a%==3 if %b%==5 (echo 1) else (echo 2)